if (!jsx3.lang.Class.forName("ux.cdb.admin.receiptPkg.pkgWizard.Builder")) {
/**
 * Define the <code>tibco.spm.design.rule.builder.Builder</code> class.
 * This class inherit from <code>jsx3.gui.Dialog<code> GUI class.
 */
jsx3.Class.defineClass(
		"ux.cdb.admin.receiptPkg.pkgWizard.Builder",
		jsx3.gui.Dialog,
		null,
		function (objRoot) {
			/**
			 * This method will be called after UI file has deserialized.
			 */
			objRoot.prototype.onAfterDeserialize = function() {
			}
			
			objRoot.prototype.onClose = function() {
				this.doClose();
				/*this.wizard = this.getDescendantsOfType("ux.megatron.gui.SteppedWizard");
				if(this.wizard[0].lockArray.length > 0){
					var me = this;
					if(this.isCountry){
						ux.megatron.util.Dwr.callDwr("RetailStudentLoanContractFeedBackCountryUCC", 
							"unlockAppListForGather", [this.wizard.lockArray],
							me,me.callBackUnlockAppListForGatherClose, 
							"RetailStudentLoanContractFeedBackCountryUCC");	
					}else{
						ux.megatron.util.Dwr.callDwr("RetailStudentLoanContractFeedBackProvinceUCC", 
							"unlockBatches", [this.wizard.lockArray],
							me,me.callBackUnlockAppListForGatherClose, 
							"RetailStudentLoanContractFeedBackProvinceUCC");	
					}
				}else{
					this.doClose();
				}*/
			}

			objRoot.prototype.callBackUnlockAppListForGatherClose = function(dwrObjectList) {
				if(!dwrObjectList)
					jsx3.log("call getInternalOrgInfo failed......");
				if(dwrObjectList.res.flag != 1){
					alert("error, unlock failed!");
					return;
				}else{
					this.doClose();
				}
			}
		});
}